package com.xwdeshj.repository;

import com.xwdeshj.entity.XwFarmBasicinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2018/12/24.
 * 农家乐店铺基本信息
 */
public interface XwFarmBasicinfoRepository extends JpaRepository<XwFarmBasicinfo,Integer> {

    //根据农家乐加密id，删除对应的相关记录
    public void deleteByFarmEncryptid(String farm_encryptId);

    //根据农家乐加密id，获取对应的相关记录
    public XwFarmBasicinfo findByFarmEncryptid(String farm_encryptId);

}
